cmake_minimum_required(VERSION 3.1)
cmake_policy(SET CMP0048 NEW)
project(cliprobe VERSION 0.1.0.0)

include_directories("${CMAKE_CURRENT_BINARY_DIR}"
	"${PROJECT_BINARY_DIR}"
	)

set(ENCODE
urlencode.c 
)

set(DECODE
urldecode.c
)

# target
add_executable(anyurl_encode ${ENCODE})
add_executable(anyurl_decode ${DECODE})

# install
install(TARGETS anyurl_encode DESTINATION bin)
install(TARGETS anyurl_decode DESTINATION bin)
